var meuns=['个人中心','班级','文件','消息'];
var cancel='关闭菜单';
hui('#hui-header-menu').click(function () {
    hui.actionSheet(meuns,cancel,function (e) {
        if(e.index==0){
            window.location.href='profile.html';
        }
        if (e.index == 1) {
            window.location.href='class.html';
        }
        if (e.index == 2) {

        }
    })
});